console.log(Babel, VueJsxNext2)

const scriptString = `
    let a = 100;
    a=  200;
    const state = reactive({
        formData:{}
    })
    const myRender = ()=>{
        return ()=>(
            <div>
                <input type="text" v-model={state.formData.username}/>
                <PlDate v-models={[
                    [state.formData.startDate,'start'],
                    [state.formData.endDate,'end'],
                ]} />
                {state.formData.username}
            </div> 
        )
    }
`

const output = Babel.transform(scriptString, {
        plugins: [
            VueJsxNext2,
        ],
        presets: [
            'env',
        ],
    }
).code;

console.log(output)
